package com.cnt.service;


import com.cnt.entity.PointsRules;
import com.cnt.vo.CheckDonationsVo;
import com.cnt.vo.ResultVo;

import java.util.List;

public interface DonationRequestService {

    public ResultVo<String> agreeRequest(Integer requestId);

    public ResultVo<String> agreeRequestList(List<Integer> list);

    public ResultVo<String> agreeRequestAndChangeAmount(Integer requestId, double changeAmount);

    public ResultVo<String> rejectRequest(Integer requestId);

    public ResultVo<String> rejectRequestList(List<Integer> list);

    List<CheckDonationsVo> getCheckList(Double minAmount, Double maxAmount, String name);


    public ResultVo<List<PointsRules>> getPointsRuleByRequest(Integer requestId);

    ResultVo<List<PointsRules>> setPointsRuleByDonation(Integer donationId, String isPointsRules);
}
